package com.jmu.employee;

import java.util.Comparator;

public class SalaryComparator implements Comparator<Staff> {
    @Override
    public int compare(Staff o1, Staff o2) {
        return o2.getSalary() - o1.getSalary();
    }
}
